<extend name="Base/base" />
<block name='head'>
    <meta charset="utf-8">
    <!--<link href="/Public/Index/css/workflow.css" rel="stylesheet" />--> 
</block>
<block name="content" > 
    <div class="user_lists">
        <h3>所有部门</h3>
        <ul>       
            <foreach name="lists" item="list">
                <li class="border"><a href="{:U('Diary/weeklyUserLists',array('id'=>$list[dept_id]))}"><P><img src="/Public/Index/img/icon_{$key}.png" width="95.0333px" height="58px"/><span>{$list.dept_name}</span></P></a></li>
            </foreach>
        </ul>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
        $(function () {
            $('.border').each(function () {
                var index = $(this).index() + 1;
                if (index % 3 == 0) {
                    $(this).css({'border-right': 0})
                }
            })
        })
    </script>
</block>
